import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SSpecialPanicBuyItem
    
    export  class SSpecialPanicBuyItem
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.code);
            arg1.writeInt(this.priceOrigin);
            arg1.writeInt(this.price);
            arg1.writeInt(this.leftAmount);
            arg1.writeInt(this.personBuyAmount);
            arg1.writeInt(this.mask);
            arg1.writeInt(this.state);
            arg1.writeInt(this.cardNum);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.code = arg1.readInt();
            this.priceOrigin = arg1.readInt();
            this.price = arg1.readInt();
            this.leftAmount = arg1.readInt();
            this.personBuyAmount = arg1.readInt();
            this.mask = arg1.readInt();
            this.state = arg1.readInt();
            this.cardNum = arg1.readInt();
            return;
        }

        public /* var */code: int;

        public /* var */priceOrigin: int;

        public /* var */price: int;

        public /* var */leftAmount: int;

        public /* var */personBuyAmount: int;

        public /* var */mask: int;

        public /* var */state: int;

        public /* var */cardNum: int;
    }
